<?php

require_once('../include/GeneralTop.php');
//Frame跳转，设置默认页
if (isset($_GET['frmURL']))
{
	$frmURL=$_GET['frmURL'];
}
else
{
	$frmURL="AssociationIndex.php";
}

// ** Logout the current user. **
$logoutAction = $_SERVER['PHP_SELF']."?doLogout=true";
if ((isset($_SERVER['QUERY_STRING'])) && ($_SERVER['QUERY_STRING'] != "")){
  $logoutAction .="&". htmlentities($_SERVER['QUERY_STRING']);
}

if ((isset($_GET['doLogout'])) &&($_GET['doLogout']=="true")){
  //to fully log out a visitor we need to clear the session varialbles
  $_SESSION['Index_Username'] = NULL;
  $_SESSION['MM_UserGroup'] = NULL;
  $_SESSION['PrevUrl'] = NULL;
  unset($_SESSION['Index_Username']);
  unset($_SESSION['MM_UserGroup']);
  unset($_SESSION['PrevUrl']);
	
  $logoutGoTo = "../index.php";
  if ($logoutGoTo) {
   header("Location: $logoutGoTo");
    exit;
  }
}
	
require("../include/header.php");
?>

<table width="1001" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="229" valign="top" background="../images/fen_20.gif"><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="228" height="65" valign="top" background="../images/fen_07.gif"><table width="100%" height="34" border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td height="34"></td>
            </tr>
          </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td width="8"></td>
                <td><div align="center" class="font_16px_white_B"><?php echo TEXT_BRANCH_ABOUT?></div></td>
                <td width="3"></td>
              </tr>
            </table></td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="8"></td>
          <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td height="5"></td>
            </tr>
          </table>
            <table width="100%" border="0" cellspacing="3" cellpadding="0">
              <tr>
                <td width="25%"><div align="right"><img src="../images/fen_23.gif" width="7" height="7"></div></td>
                <td width="75%" height="20"><a href="BaseFrame.php?frmURL=AssociationIndex.php" class="font_12px_gray">&nbsp;<?php echo TEXT_BRANCH_INTRO?></a></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td align="center"><img src="../images/fen_27.gif" width="199" height="1"></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="3" cellpadding="0">
              <tr>
                <td width="25%"></td>
                <td width="75%" height="20"><a href="BaseFrame.php?frmURL=AssociationPresidentIntro.php" class="font_12px_gray">- <?php echo TEXT_BRANCH_EXECUTIVE?></a></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td align="center"><img src="../images/fen_27.gif" width="199" height="1"></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="3" cellpadding="0">
              <tr>
                <td width="25%"><div align="right"><img src="../images/fen_23.gif" width="7" height="7"></div></td>
                <td width="75%" height="20"><a href="BaseFrame.php?frmURL=AssociationThinking.php" class="font_12px_gray">&nbsp;<?php echo TEXT_BRANCH_MISSION?></a></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td align="center"><img src="../images/fen_27.gif" width="199" height="1"></td>
              </tr>
            </table>
             <table width="100%" border="0" cellspacing="3" cellpadding="0">
              <tr>
                <td width="25%"><div align="right"><img src="../images/fen_23.gif" width="7" height="7"></div></td>
                <td width="75%" height="20"><a href="BaseFrame.php?frmURL=AssociationFAQ.php" class="font_12px_gray">&nbsp;<?php echo TEXT_BRANCH_FAQ?></a></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td align="center"><img src="../images/fen_27.gif" width="199" height="1"></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="3" cellpadding="0">
              <tr>
                <td width="25%"><div align="right"><img src="../images/fen_23.gif" width="7" height="7"></div></td>
                <td width="75%" height="20"><a href="BaseFrame.php?frmURL=AssociationFund.php" class="font_12px_gray">&nbsp;<?php echo TEXT_BRANCH_FUND?></a></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td align="center"><img src="../images/fen_27.gif" width="199" height="1"></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="3" cellpadding="0">
              <tr>
                <td width="25%"></td>
                <td width="75%" height="20"><a href="BaseFrame.php?frmURL=AssociationFundTerm.php" class="font_12px_gray">- <?php echo TEXT_BRANCH_TERM?></a></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td align="center"><img src="../images/fen_27.gif" width="199" height="1"></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="3" cellpadding="0">
              <tr>
                <td width="25%"></td>
                <td width="75%" height="20"><a href="BaseFrame.php?frmURL=AssociationFundDonate.php" class="font_12px_gray">- <?php echo TEXT_BRANCH_DONATE?></a></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td align="center"><img src="../images/fen_27.gif" width="199" height="1"></td>
              </tr>
            </table>
             <table width="100%" border="0" cellspacing="3" cellpadding="0">
              <tr>
                <td width="25%"><div align="right"><img src="../images/fen_23.gif" width="7" height="7"></div></td>
                <td width="75%" height="20"><a href="BaseFrame.php?frmURL=AssociationReport.php" class="font_12px_gray">&nbsp;<?php echo TEXT_BRANCH_FINANCE?></a></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td align="center"><img src="../images/fen_27.gif" width="199" height="1"></td>
              </tr>
            </table>
             <table width="100%" border="0" cellspacing="3" cellpadding="0">
              <tr>
                <td width="25%"><div align="right"><img src="../images/fen_23.gif" width="7" height="7"></div></td>
                <td width="75%" height="20" class="font_12px_gray"><!--<a href="BaseFrame.php?frmURL=AssociationJoinUs.php" class="font_12px_gray">-->&nbsp;<?php echo TEXT_BRANCH_JOIN?><!--</a>--></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td align="center"><img src="../images/fen_27.gif" width="199" height="1"></td>
              </tr>
            </table>
             <table width="100%" border="0" cellspacing="3" cellpadding="0">
              <tr>
                <td width="25%"></td>
                <td width="75%" height="20"><a href="BaseFrame.php?frmURL=AssociationJoinUs1.php" class="font_12px_gray">- <?php echo TEXT_BRANCH_BE_PAID?></a></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td align="center"><img src="../images/fen_27.gif" width="199" height="1"></td>
              </tr>
            </table>
             <table width="100%" border="0" cellspacing="3" cellpadding="0">
              <tr>
                <td width="25%"></td>
                <td width="75%" height="20"><a href="BaseFrame.php?frmURL=AssociationJoinUs2.php" class="font_12px_gray">- <?php echo TEXT_BRANCH_VOL?></a></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td align="center"><img src="../images/fen_27.gif" width="199" height="1"></td>
              </tr>
            </table>
             <table width="100%" border="0" cellspacing="3" cellpadding="0">
              <tr>
                <td width="25%"></td>
                <td width="75%" height="20"><a href="BaseFrame.php?frmURL=AssociationJoinUs3.php" class="font_12px_gray">- <?php echo TEXT_BRANCH_BOARD?></a></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td align="center"><img src="../images/fen_27.gif" width="199" height="1"></td>
              </tr>
            </table>
             <table width="100%" border="0" cellspacing="3" cellpadding="0">
              <tr>
                <td width="25%"></td>
                <td width="75%" height="20"><a href="BaseFrame.php?frmURL=AssociationJoinUs4.php" class="font_12px_gray">- <?php echo TEXT_BRANCH_EM?></a></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td align="center"><img src="../images/fen_27.gif" width="199" height="1"></td>
              </tr>
            </table>
          
          
          </td>
          <td width="3"></td>
        </tr>
      </table></td>
    <td width="782" align="left" valign="top" height="100%">
      <iframe id ="frmContent" name="frmContent" scrolling="no" vspace="1" frameborder="0"  width="100%"  height="100%" src="<?php echo $frmURL; ?>" onload="this.height=frmContent.document.body.scrollHeight">
      </iframe>      
      </td>
  </tr>
  
</table>

<table width="1001" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="9" background="../images/fen_03.gif"></td>
  </tr>
</table>


<table width="1001" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td align="center" valign="top" bgcolor="F7F7F7"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="10"></td>
      </tr>
    </table>
      <table width="700" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="11" height="26"><img src="../images/copyright_01.gif" width="11" height="26"></td>
          <td background="../images/copyright_03.gif" class="font_12px_gray"><div align="center">上海市畜牧兽医学会小动物保护分会   2009年   版权所有    沪ICP备06004930号</div></td>
          <td width="12"><img src="../images/copyright_04.gif" width="12" height="26"></td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="10"></td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="10"><div align="center" class="font_12px_gray">电话：021-61432446  传真：021-61432448  Email: ssapa.info@yahoo.com.cn (中文), helpttheanimals@yahoo.cn (English)</div></td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="10"></td>
        </tr>
      </table></td>
  </tr>
</table>
<SCRIPT>
var speed=50
tmp2.innerHTML=tmp1.innerHTML
tmp.scrollLeft=0
function Marquee(){
if(tmp.scrollLeft>=tmp2.offsetWidth)

tmp.scrollLeft=0
else{
tmp.scrollLeft++
}
}
var MyMar=setInterval(Marquee,speed)
tmp.onmouseover=function() {clearInterval(MyMar)}
tmp.onmouseout=function() {MyMar=setInterval(Marquee,speed)}
</SCRIPT>
</body>
</html>
